* {
  margin: 0;
  padding: 0;
}

.w {
  width: 75% !important;
}

body,
html {
  width: 100%;
  height: auto;
  background-color: rgb(240, 240, 240);
}

/* 顶栏 */
header {
  width: 100%;
  height: 100px;
  background-color: #fff;
}

header #header {
  height: 100px;
  margin: auto;
}

header .header_logo {
  width: 100px;
  height: 100px;
  text-align: center;
  color: rgb(240, 240, 240);
  display: inline-block;
}

header .header_logo img {
  height: 70px;
  width: 70px;
  transform: rotate(30deg);
}

header .header_logo_text {
  color: rgb(240, 50, 30);
  font-size: 14px;
}

header .header_search {
  text-align: center;
  margin-top: 30px;
}

header .header_search input {
  width: 500px;
  outline: none;
  padding: 5px 0 5px 15px;
  box-sizing: border-box;
  border: 2px solid rgb(240, 50, 30);
}

header .header_search button {
  width: 60px;
  height: 38px;
  margin-left: -5px;
  border: none;
  color: #fff;
  background-color: rgb(240, 50, 30);
}

header .header_shoppingCart {
  width: 140px;
  text-align: center;
  height: 40px;
  line-height: 40px;
  border: 1px solid rgb(240, 50, 30);
  margin-top: 30px;
}

header .header_shoppingCart a {
  text-decoration: none;
  color: #000;
}

header .header_shoppingCart img {
  width: 18px;
  height: 16px;
}

/* 导航栏 */
.classify {
  width: 100%;
  height: 46px;
  background-color: rgb(240, 50, 30);
}

.classify .nav .nav-link {
  color: #fff;
  font-size: 20px;
  width: 110px;
}

/* 主体 */
main {
  position: relative;
  width: 100%;
  height: auto;
  margin: auto;
  background-color: rgb(240, 240, 240);
  padding: 15px 0;
}

/* 主体内容 */
main .main {
  width: 100%;
  height: auto;
  background-color: #fff;
  border-radius: 18px;
  padding: 20px;
}

/* 轮播图部分 */
.carousel-inner {
  border-radius: 18px;
}

/* 用户部分 */
.user-content {
  width: 100%;
  height: 68%;
  border: 1px solid #000;
  border-radius: 18px;
  text-align: center;
  padding: 20px;
}

.user-content p {
  margin-top: -5px;
  font-size: 14px;
  color: gray;
}

.user-content img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.user-content .btn_login,
.btn_register {
  color: #fff;
  width: 100px;
  background-color: rgb(240, 50, 30);
  border: none;
  border-radius: 18px;
  padding: 10px;
  margin: 10px;
  margin-top: -10px;
}

.user-icon {
  width: 100%;
  height: 25%;
  border: 1px solid #000;
  border-radius: 18px;
  margin-top: 7%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.user-icon a {
  text-decoration: none;
  color: black;
}

.user-icon img {
  width: 25px;
  height: 25px;
}

.user-content div {
  font-size: 20px;
  margin-top: 20px;
}

#exit {
  cursor: pointer;
}

/* 猜你喜欢 */
.yourLike {
  width: 100%;
  height: auto;
  margin-top: 20px;
  padding: 10px;
}

.yourLike h3 {
  font-family: "宋体";
  font-weight: bold;
}

/* 猜你喜欢商品部分 */
.likeShow {
  width: 100%;
  height: auto;
  padding: 12px;
}

.likeShow .shoppingCart {
  cursor: pointer;
}

.card {
  padding: 10px;
  background-color: rgb(240, 240, 240);
  transition: all 0.6s;
}

.card img {
  border-radius: 10px;
}

.card-body {
  padding: 5px !important;
  padding-left: 8px !important;
}

.card-title {
  width: 100%;
  font-family: "宋体";
  height: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.price-wrapper {
  color: #ff5000;
}

.price-wrapper span.price {
  font-size: 20px;
}

.price-wrapper img {
  width: 26px;
  height: 22px;
  margin-top: 4px;
  float: right;
}

.business {
  font-size: 14px;
  color: rgb(120, 120, 120);
  font-family: "宋体";
}

.goodsNum {
  width: 20px;
  height: 10px;
  position: absolute;
  right: 2px;
  bottom: 40px;
  font-size: 8px;
}

/* 回到顶部 */
.toolkit-list {
  /* position: absolute; */
  position: fixed;
  top: 30%;
  right: 0px;
  width: 70px;
  height: 250px;
  background-color: #fff;
  border-radius: 18px 0 0 18px;
  padding: 30px 0;
}

.toolkit-item {
  font-family: "宋体";
  font-size: 12px;
  color: #333;
  text-align: center;
  padding: 16px 0;
}

.toolkit-item a {
  color: #000;
  text-decoration: none;
}

.toolkit-item a:hover {
  color: #000;
}

.toolkit-item:hover {
  cursor: pointer;
}

.toolkit-item img {
  display: block;
  width: 25px;
  height: 25px;
  margin: 10px auto;
}

/* 底栏 */
footer {
  width: 100%;
  height: 200px;
  background-color: rgb(240, 240, 240);
  padding: 20px;
}

.dkhs {
  height: 80px;
}

.dkhs span {
  display: inline-block;
  width: 39px;
  height: 46px;
  background: url(../images/多快好省.png) no-repeat;
  vertical-align: middle;
  margin-right: 5px;
}

.dkhs span.item1 {
  background-position: 0px -190px;
}

.dkhs span.item2 {
  background-position: -40px -190px;
}

.dkhs span.item3 {
  background-position: -82px -190px;
}

.dkhs span.item4 {
  background-position: -123px -190px;
}

footer hr {
  margin-top: -10px;
}

/* 分页栏 */
.el-pagination {
  text-align: center;
}

/* 媒体查询 */
/* @media screen and (min-width: 1280px) {
    .w {
        width: 1280px !important;
    }
} */
